<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错误 - 后台管理系统</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css">
    <style>
        body {
            display: flex;
            align-items: center;
            padding-top: 40px;
            padding-bottom: 40px;
            background-color: #f5f5f5;
            height: 100vh;
        }
        .error-container {
            width: 100%;
            max-width: 500px;
            padding: 15px;
            margin: auto;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="error-container">
        <div class="card">
            <div class="card-body">
                <h2 class="card-title text-danger mb-4">出错了！</h2>
                <p class="card-text mb-4">{{ message }}</p>
                <div class="d-grid gap-2">
                    <a href="/" class="btn btn-primary">返回首页</a>
                    <a href="/login" class="btn btn-outline-secondary">返回登录</a>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 